<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>滚动</title>
    <script type="text/javascript" src="../jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="demo2.js"></script>
</head>
<body>
<div>
    <ul id="container">

    </ul>
</div>
<script type="text/javascript">
    var ele = $("#container");
    for (var i = 0; i < 50; i++) {
        ele.append("<li>" + i + "</li>")
    }
    ele.EdenScroller({
        callback: function (plugin) {
            setTimeout(function () {
                plugin.hideLoadMoreEle();
                for (var i = 0; i < 10; i++) {
                    ele.append("<li>" + (plugin.settings.offsetPosition++) + "</li>");
                }
            }, 500);
        },
    });
    // [].forEach.call($($("*")), function (a) {
    //     a.style.outline = "1px solid #" + (~~(Math.random() * (1 << 24))).toString(16)
    // });
    $.ajax({
        url:"/web/index",
        success:function (e) {
            console.log("csdn success")
            console.log(e)
        }
    });
   let image=new Image();
   image.onload
   image.src="";



</script>
</body>
</html>